<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>优家购房系统 - 租赁合同信息详情查看</title>
	<link rel="stylesheet" href="css/main.css">
	<link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
</head>
<body style="background:url('image/bg5.jpg');background-size:cover;">
<div class="box">
	<h3>租赁合同信息详情</h3>
		<table class="form-table">
			<tr>
				<td class="label">合同号</td>
				<td class="detail">
					${lc.lc_contract_number }
				</td>
			</tr>
			<tr>
				<td class="label">房屋id号</td>
				<td colspan="3" class="detail">
					${lc.flat_id }
				</td>
			</tr>
			<tr>
				<td class="label">租户id号</td>
				<td colspan="3" class="detail">
					${lc.tenant_id }
				</td>
			</tr>
			<tr>
				<td class="label">合同日期</td>
				<td colspan="3" class="detail">
					${lc.lc_contract_date }
				</td>
			</tr>
			<tr>
				<td class="label">租赁开始时间</td>
				<td colspan="3" class="detail">
					${lc.lc_contract_start_date }
				</td>
			</tr>
			<tr>
				<td class="label">房租总额</td>
				<td colspan="3" class="detail">
					${lc.lc_total_rent }
				</td>
			</tr>
			<tr>
				<td class="label">付款方式</td>
				<c:if test="${lc.lc_pay_way==0 }">
					<td colspan="3" class="detail">月付</td>
				</c:if>
				<c:if test="${lc.lc_pay_way==1 }">
					<td colspan="3" class="detail">半年付</td>
				</c:if>
				<c:if test="${lc.lc_pay_way==2 }">
					<td colspan="3" class="detail">年付</td>
				</c:if>
				<c:if test="${lc.lc_pay_way==3 }">
					<td colspan="3" class="detail">季付</td>
				</c:if>
			</tr>
			<tr>
				<td class="label">押金</td>
				<td colspan="3" class="detail">
					${lc.lc_deposit }
				</td>
			</tr>
			<tr>
				<td class="label">付款期数(单位:月/期)</td>
					<td colspan="3" class="detail">
					${lc.lc_period_payment }
					</td>
			</tr>
			<tr>
				<td class="label">合同签署人姓名</td>
				<td colspan="3" class="detail">
					${lc.lc_contract_signer }
				</td>
			</tr>
			<tr>
				<td class="label">合同状态</td>
				<c:if test="${lc.lc_contract_state==0 }">
					<td colspan="3" class="detail">已失效</td>
				</c:if>
				<c:if test="${lc.lc_contract_state==1 }">
					<td colspan="3" class="detail">正常</td>
				</c:if>
			</tr>
		</table>
		<div class="buttons">
			<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
		</div>
</div>
</body>
</html>